package com.atguigu.tingshu.search.service;

import com.atguigu.tingshu.vo.search.AlbumInfoIndexVo;

import java.util.List;
import java.util.Map;

public interface ItemService {

    /**
     * @description:专辑上架
     * @author: coilk
     * @date: 2025/3/17 16:31 
     * @param: albumId 
     **/
    void albumOnSale(Long albumId);

    void albumOffSale(Long albumId);

    void batchAlbumOffSale();

    void preRankingToCache();

    List<AlbumInfoIndexVo> findRankingList(Long c1Id, String dimension);

    Map<String, Object> getAlbumInfo(Long albumId);

     /**
      * @description: 查询所有的专辑id集合
      * @author: baosi
      * @date: 2025/3/25 22:39
      */
    List<Long> getAlbumInfoIdList();

     /**
      * @description: 手动重建布隆
      * @author: baosi
      * @date: 2025/3/27 11:01
      */
    Boolean rebuildBloomFilter();
}
